#ifndef __CORE_INTERFACE__H__
#define __CORE_INTERFACE__H__

#include <windows.h>
#include <winerror.h>
#include "tevent.h"

interface IAppCore
{
	virtual HRESULT HandleEvent(TEvent *)  = 0;
	virtual HRESULT SetDisplayWindow(HWND hWnd) = 0;
	virtual void Destroy() = 0;
};

#ifndef  DLL_EXPORT
#define DLL_API  __declspec(dllimport) 
#else
#define DLL_API  __declspec(dllexport) 
#endif

extern "C"  DLL_API  HRESULT  CreateAppCore(IAppCore **ppCore );


#endif //__CORE_INTERFACE__H__
